﻿CREATE TABLE [dbo].[TenderBidder] (
    [Id]               UNIQUEIDENTIFIER ROWGUIDCOL NOT NULL,
    [TenderAnalysisId] UNIQUEIDENTIFIER NOT NULL,
    [SupplierId]       UNIQUEIDENTIFIER NOT NULL,
    [ShippingTermId]   UNIQUEIDENTIFIER NULL,
    [DeliveryTime]     DATETIME         NULL,
    [Warranty]         NVARCHAR (50)    NULL,
    [TransportCost]    MONEY            NULL,
    [TotalCost]        MONEY            NULL,
    [Comments]         NTEXT            NULL,
    [QuotationRef]     NVARCHAR (50)    NULL,
    [PaymentTermId]    UNIQUEIDENTIFIER NULL
);


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'In days', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'TenderBidder', @level2type = N'COLUMN', @level2name = N'DeliveryTime';

